package com.gqzmy.springboot3.service;

import com.github.pagehelper.PageInfo;
import com.gqzmy.springboot3.entity.Role;
import com.gqzmy.springboot3.vo.RoleQuery;

/**
 * @author 周小哥  gqzmy@163.com 2023/4/20 17:10
 */

public interface RoleService {

    Role insertRole(Role role);

    boolean deleteById(String id);

    Role getById(String id);

    PageInfo<Role> getRolePageInfo(RoleQuery roleQuery);

}
